<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title>account</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<table>
    <tr>
        <th>id</th>
        <th>发送者</th>
        <th>接收者</th>
        <th>内容</th>
        <th>发送时间</th>
    </tr>
    <tr th:each="item,stat : ${list}">
        <td th:text="${item.getId()}"></td>
        <td th:text="${item.getFrom_uid()}"></td>
        <td th:text="${item.getTo_uid()}"></td>
        <td th:text="${item.getContent()}"></td>
        <td th:text="${item.getTime()}"></td>
    </tr>
</table>
</body>
</html>